package model.semantics;

import model.State;

public class TellNode extends Node<Integer> {
	private Node<Integer> myAggregator;
	
	public TellNode(Node<Integer> aggregator) {
		myAggregator = aggregator;
	}
	
	@SuppressWarnings("rawtypes")
	@Override
	public Integer evaluate(State<Integer> state) {
		System.out.println(myAggregator.evaluateList(state));
		return 0;
	}

}
